package com.ls.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description
 * @Author konglz
 * @Data 2023/5/3 11:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("分页数据响应对象封装")
public class PageData<T> {
    @ApiModelProperty("总页数")
    private Long total;
    @ApiModelProperty("当前页数据")
    private List<T> data;
}
